<!DOCTYPE html>
<html lang="en">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>支付成功</title>
        <meta content="telephone=no,email=no,address=no" name="format-detection" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
        <meta name="msapplication-tap-highlight" content="no" />
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta name="apple-mobile-web-app-status-bar-style" content="black" />
        <meta name="wap-font-scale" content="no" />
        <link rel="stylesheet" type="text/css" href="__CSS__pay/common.css?version={:config('version')}" />
        <link rel="stylesheet" type="text/css" href="__CSS__pay/pay.css?version={:config('version')}" />
        <link rel="stylesheet" type="text/css" href="__CSS__color.css?version={:config('version')}" />
    </head>
    <body>
        <div class="pay-success wrap">
            <div class="success-icon">
                {if condition="$data.status == 2000"}
                    <img src="__IMAGES__/success_icon.png"/>
                    <p>支付已成功</p>
                {elseif condition="$data.status == 6000"}
                    <img src="__IMAGES__/404.png"/>
                    <p>支付异常</p>
                {else /}
                    <img src="__IMAGES__/fail_icon.png"/>
                    <p>支付失败</p>
                {/if}
            </div>
            <div class="pay-list">
                <dl>
                    <dt>订单号：{$data.order_num}</dt>
                    <dt>{$data.partner_name}</dt>
                    <dd>{$data.product_name}</dd>
                    <dd>¥ {$data.amount}</dd>
                </dl>
            </div>
            <footer>
                <div class="footer clearfix">
                    <a class="fl w50 text-center" href="/payIndex">返回首页</a>
                    {if condition="$data.status == 2000"}
                        <a class="fl w50 text-center order-btn" href="/succPayDetail?order_num={$data.order_num}">订单详情</a>
                    <!--{elseif condition="$data.status == 4000"}-->
                        <!--<a class="fl w50 text-center order-btn" href="/failPayDetail?order_num={$data.order_num}">订单详情</a>-->
                    {/if}
                </div>
            </footer>
        </div>
    </body>
</html>
